/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'
import Layout2 from '@/layout/index2'

const vote = {
    path: '/vote',
    component: Layout,
    meta: { title: '投票管理', affix: false },
    redirect: '/vote/Activity',
    children: [
      {
        path: 'activity',
        name:'活动列表',
        component: () => import('@/views/vote/activity'),
        meta: { title: '活动列表',  affix: false },
      },
      {
        path: 'shuju_data',
        name:'活动数据',
        component: () => import('@/views/vote/activity/shuju_data'),
        meta: { title: '活动数据',  affix: false },
      },
      {
        path: 'liwu_list',
        name:'流水列表',
        component: () => import('@/views/vote/activity/liwu_list'),
        meta: { title: '流水列表',  affix: false },
      },
      {
        path: 'register',
        name:'报名列表',
        component: () => import('@/views/vote/activity/register/index'),
        meta: { title: '报名列表',  affix: false },
      },
      {
        path: 'toupiaolist',
        name:'评论列表',
        component: () => import('@/views/vote/activity/register/toupiao'),
        meta: { title: '评论列表',  affix: false },
      },
      {
        path: 'datalist',
        name:'报名数据列表',
        component: () => import('@/views/vote/activity/register/datalist'),
        meta: { title: '报名数据列表',  affix: false },
      },
      {
        path: 'vote_model',
        name:'活动模板',
        component: () => import('@/views/vote/vote_model'),
        meta: { title: '活动模板',  affix: false },
      },
      {
        path: 'gift',
        name:'礼物组',
        component: () => import('@/views/vote/gift'),
        meta: { title: '礼物组',  affix: false },
      },
      {
        path: 'gift_info',
        name:'礼物管理',
        component: () => import('@/views/vote/gift/info/index'),
        meta: { title: '礼物管理',  affix: false },
      },
      {
        path: 'fenzu',
        name:'分组管理',
        component: () => import('@/views/vote/fenzu'),
        meta: { title: '分组管理',  affix: false },
      },
      {
        path: 'fenzu_info',
        name:'具体分组',
        component: () => import('@/views/vote/fenzu/info/index'),
        meta: { title: '具体分组',  affix: false },
      },
    ]
  }

export default vote
